﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    x:Class="TestUi.Content.GameContainerContent"
    d:DesignWidth="358"
    d:DesignHeight="525" Width="400" Height="700" HorizontalAlignment="Center" VerticalAlignment="Center">

    <Grid
        x:Name="LayoutRoot">
        <Grid.Background>
            <LinearGradientBrush
                EndPoint="0.5,1"
                MappingMode="RelativeToBoundingBox"
                StartPoint="0.5,0">
                <GradientStop
                    Color="#FFCEEFF3"
                    Offset="0" />
                <GradientStop
                    Color="#FF002454"
                    Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
        <Border
            Background="#7F000000"
            BorderBrush="Black"
            BorderThickness="2"
            CornerRadius="10" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="10">
            <StackPanel
                Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                <StackPanel
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Margin="5">
                    <Button
                        x:Name="_incScores"
                        Content="Scores +50"
                        d:LayoutOverrides="Width"
                        Click="_incScores_Click" />
                    <Button
                        x:Name="_decScores"
                        Content="Scores -50"
                        d:LayoutOverrides="Width"
                        Click="_decScores_Click" />
                </StackPanel>
                <StackPanel
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Margin="5">
                    <Button
                        x:Name="_incLives"
                        Content="Lives++"
                        d:LayoutOverrides="Width"
                        Click="_incLives_Click" />
                    <Button
                        x:Name="_decLives"
                        Content="Lives--"
                        d:LayoutOverrides="Width"
                        Click="_decLives_Click" />
                </StackPanel>
            </StackPanel>
        </Border>
        <StackPanel
            Orientation="Vertical"
            VerticalAlignment="Bottom"
            Margin="10"
            Background="#33000000">
            <Button
                x:Name="_continueButton"
                Content="New Game"
                Click="_continueButton_Click" Visibility="Collapsed" />
            <TextBlock
                TextWrapping="Wrap"
                Text="Status:"
                HorizontalAlignment="Left" />
            <TextBox
                x:Name="_status"
                TextWrapping="Wrap"
                Background="{x:Null}"
                BorderBrush="{x:Null}"
                IsReadOnly="True"
                VerticalScrollBarVisibility="Visible" Height="400" />
        </StackPanel>
    </Grid>
</UserControl>